import request from "@/utils/request"

export function queryOperLog(data,{currentPage, size}) {
  return request({
    url: `/sysOperLog/search/${currentPage}/${size}`,
    method: "post",
    data
  })
}

export function queryDetail(id) {
  return request({
    url: `/sysOperLog/${id}`,
    method: "get",
  })
}
